package cn.kpi.service.sys;

import java.util.List;

import cn.kpi.entity.sys.UserEntity;

public interface IUserService {
	public UserEntity UserLogin()throws Exception;
	public int InsertEntity(UserEntity entity)throws Exception;
	public List<UserEntity> GetUserListByWhere(String where)throws Exception;
	public List<UserEntity> GetUserListTranByWhere(String where,String year,String month)throws Exception;
	public List<UserEntity> GetUserListWorkByWhere(String where,String year,String month)throws Exception;
	public List<UserEntity> GetUserListLimitByWhere(String where,int beginrow,int endrow)throws Exception;

	public int GetUserListCountByWhere(String where)throws Exception;
    public int DeleteEntity(Long userid)throws Exception;
    public UserEntity GetUserById(Long userid)throws Exception;
    public int UpdateEntity(UserEntity entity)throws Exception;

    public int UpdateEntityList(List<UserEntity> inEntitys,List<UserEntity> upEntitys)throws Exception;
}
